package com.oracle.dao.impl;

import java.util.List;

import com.oracle.dao.CarDao;
import com.oracle.utils.DBHelper;

public class carDaoImpl implements CarDao {

	@Override
	public List<Object> query(String sql, Object[] params) {
		DBHelper db = new DBHelper();
        return db.query(sql, params);
	}

	@Override
	public int update(String sql, Object[] params) {
		   DBHelper db = new DBHelper();
	        return db.update(sql, params);
	}

}
